package com.beta.cust.bind.datasync;

import com.beta.cat.application.DubboBaseApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableAsync
@EnableDiscoveryClient //开启服务注册与发功能
@EnableScheduling //开启定时任务
@MapperScan("com.beta.cust.bind.datasync.mapper")
@SpringBootApplication
public class WebServiceApplication extends DubboBaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebServiceApplication.class, args);
    }

}
